package org.dromara.wechat.constants;

/**
 * 微信常量
 */
public class WechatConstants {
    /**
     * 快速注册企业小程序的前缀
     */
    public static final String MINIPROGRAM_PREFIX = "miniprogram_prefix";
    public static final String WECHAT_TOKEN = "wechat_token";
    public static final String WECHAT_APP_ID = "wechat_app_id";
    // 小程序名称
    public static final String NICKNAME_CHECK_PREFIX = "nickname_check_prefix";

    // 新增临时素材
    public static final String ADD_TEMPORARY_MATERIAL_PREFIX = "add_temporary_material_prefix";
    // 设置搜索状态
    public static final String SET_SEARCH_STATUS_PREFIX = "set_search_status_prefix";
    // 成功
    public static final Integer SUCCESS = 0;
    // 修改头像
    public static final String SET_HEAD_IMAGE_PREFIX = "set_head_image_prefix";
    // 修改简介
    public static final String SET_INTRODUCTION_PREFIX = "set_introduction_prefix";
    // 获取不同类型主体可设置的类目
    public static final String OPEN_GET_ALL_CATEGORIES_BY_TYPE_URL = "https://api.weixin.qq.com/cgi-bin/wxopen/getcategoriesbytype";

    // 获取已设置的所有类目
    public static final String GET_CATEGORY_URL = "https://api.weixin.qq.com/cgi-bin/wxopen/getcategory";
    // 添加类目
    public static final String ADD_CATEGORY_URL = "https://api.weixin.qq.com/cgi-bin/wxopen/addcategory";
    // 删除类目
    public static final String DELETE_CATEGORY_URL = "https://api.weixin.qq.com/cgi-bin/wxopen/deletecategory";
    // 修改类目
    // 修改服务器域名
    public static final String MODIFY_DOMAIN_DIRECTLY_URL = "https://api.weixin.qq.com/wxa/modify_domain_directly";
    // 设置小程序业务域名
    public static final String SET_WEBVIEW_DOMAIN_DIRECTLY_URL = "https://api.weixin.qq.com/wxa/setwebviewdomain_directly";
    // 获取业务域名校验文件
    public static final String GET_WEBVIEW_DOMAIN_CONFIRM_FILE_URL = "https://api.weixin.qq.com/wxa/get_webviewdomain_confirmfile";

    // errcode
    public static final String ERRCODE = "errcode";
    // errmsg
    public static final String ERRMSG = "errmsg";
    // 成功

}
